{% include 'header.twig' %}

<div class="user_activity">

    {% for comment in comments %}
        
        <div>
            {{ comment.text|slice(0, 256)|markdown|raw }}
            
            {# Post info #}
            <div class="info">
                <a href="../post/{{ comment.postHashId }}#comment-{{ comment.hashId }}">read</a>
                —
                <em>{{ comment.created|ago }}</em> on <a href="../post/{{ comment.postHashId }}">{{ comment.postTitle }}</a>
            </div>
        </div>
        
    {% endfor %}

</div>
        
{% include 'footer.twig' %}
